home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
mac
/
files
/
t_sys5
/
unixcpio.gz
/
unixnet.cpio
/
ping.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-11
|
583b
|
19 lines
/* ICMP Echo ("ping") definitions */
struct ping {
struct ping *next; /* Linked list pointers */
struct ping *prev;
int32 remote; /* Address of remote host */
struct timer timer; /* Ping interval timer */
int32 ttotal; /* Total round trip time (for averaging) */
int32 count; /* Number of pings sent */
int32 echoes; /* Number of replies received */
int16 burst; /* Number of pings/burst */
};
#define NULLPING (struct ping *)0
#define PMOD 7
extern struct ping *ping[];
/* ID fields for pings; indicates a oneshot or repeat ping */
#define ONESHOT 0
#define REPEAT 1